package com.beta.cms.test.demo.hibernate.entity;

import com.beta.cms.test.demo.hibernate.annotation.Column;
import com.beta.cms.test.demo.hibernate.annotation.Table;

@Table("person")
public class Person {
	@Column("id")
	private Integer id;
	@Column("user_name")
	private String userName;
	@Column("age")
	private Integer age;
	@Column("adress")
	private String adress;
	@Column("enail")
	private String email;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
